package ar.edu.utn.frsf.proyectofinal.sistemadecontrolmodbus.presentation.controller.admin.devtypes;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

import ar.edu.utn.frsf.proyectofinal.sistemadecontrolmodbus.persistence.model.AddressType;

@ManagedBean(name="modbusmethod")
@ApplicationScoped
public class MethodTypesBean {
		public AddressType getHolding(){
			return AddressType.HOLDING_REGISTER;
		}

		public AddressType getInput(){
			return AddressType.INPUT_REGISTER;
		}

		public AddressType getCoil(){
			return AddressType.COIL;
		}

		public AddressType getDiscrete(){
			return AddressType.DISCRETE;
		}
}